package cn.zdsoft.configuration.core;

/**
 * 常量
 * Created by wangdongdong on 2018/5/14.
 */
public final class Constants {

    /**
     * 根节点
     */
    public static final String ROOT_NODE = "/configuration/config/";

    /**
     * 项目名
     */
    public static final String PROJECT_NAME = "zk.config.project_name";

    /**
     * 环境（开发、测试、生产）
     */
    public static final String ENVIRONMENT = "zk.config.environment";

    /**
     * 服务器
     */
    public static final String SERVER = "zk.config.servers";

    /**
     * 超时时间
     */
    public static final int timeout = 5000;

    public static final String charSet = "UTF-8";

    /**
     * 配置文件
     */
    public static final String CONFIG_FILE = "/config.properties";

    /**
     * 全局客户端上下文
     */
    public static final String CONFIG_CONTEXT = "cn.zdsoft.configuration.configcontext";

    /**
     * 全局配置
     */
    public static final String CONFIG_CONTEXT_PROPERTIES = "cn.zdsoft.configuration.configcontext_properties";

    /**
     * spring 上下文 applicationContext
     */
    public static final String APPLICATION_CONTEXT = "spring_application_context";

    /**
     * xml定义bean使用外部变量的属性集合
     */
    public static final String BEAN_PROPERTY_MAP = "bean_property_map";

}
